﻿using System;


public partial class UserLoginCA : System.Web.UI.Page
{
    public string mark;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //BindProject();
            Session.RemoveAll();
            CurrentAccount.ProjectId = int.Parse(ddlProjectList.SelectedValue); 
            mark = Request.QueryString["error"];
        }
    }
    private void BindProject()
    {
        ddlProjectList.DataSource = BLL_Factory.IBLL_Common.GetProjectList();
        ddlProjectList.DataTextField = "ProjectName";
        ddlProjectList.DataValueField = "ProjectId";
        ddlProjectList.DataBind(); 
    }
}
